<extend file='../master'/>
<block name="content">
    <style>
        th{
            text-align: center;
        }
    </style>
    <ol class="breadcrumb" style="background-color: #f9f9f9;padding:8px 0;margin-bottom:10px;">
        <li>
            <a href=""><i class="fa fa-cogs"></i>
                订单管理</a>
        </li>
        <li class="active">
            <a href="">订单编辑</a>
        </li>
    </ol>
    <ul class="nav nav-tabs" role="tablist">
        <li><a href="">订单列表</a></li>
        <li  class="active"><a href="">订单编辑</a></li>
    </ul>
    <form action="" method="post" id="form" onsubmit="">
        <div class="panel panel-default">
            <div class="panel-body">
                <table class="table table-hover">
                    <thead>
                    <tr style="text-align: center">
                        <th>订单号</th>
                        <th width="100">订单价钱</th>
                        <th>订单状态</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr style="text-align: center">
                        <td>
                            <input type="text"  class="form-control" name="number" value="{{$ordersData['number']}}" disabled >
                        </td>
                        <td>
                            <input type="text"  class="form-control" name="total" value="{{$ordersData['total']}}" disabled >
                        </td>
                        <td>
                            <select class="js-example-basic-single form-control" name="status">
                                <option <if value="$ordersData['status']=='未付款'">selected</if>>未付款</option>
                                <option <if value="$ordersData['status']=='待发货'">selected</if>>待发货</option>
                                <option <if value="$ordersData['status']=='已发货'">selected</if>>已发货</option>
                                <option <if value="$ordersData['status']=='已完成'">selected</if>>已完成</option>
                            </select>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <input type="hidden" name="oid" value="{{q('get.oid')}}">
        <button class="btn btn-primary" type="submit">确定</button>
    </form>
    <div class="pagination pagination-sm pull-right">
    </div>
</block>
